#include <stdio.h>
#include <math.h> 
int main()
{
	freopen("zz_test\\test1.in", "r", stdin);
	freopen("zz_test\\test1.out", "w", stdout);
	
	double a = 0, b = 0;
	scanf("%lf %lf", &a, &b);
	double c = sqrt(a*a + b*b);
	printf("%.2lf", c);
	return 0;
} 
